package com.galaxy.coupon.mapper;

import com.galaxy.coupon.domain.PointsExchangeRule;
import com.galaxy.common.mybatis.core.mapper.BaseMapperPlus;
import com.galaxy.coupon.domain.vo.PointsExchangeRuleVo;

import java.util.List;

/**
 * 积分兑换规则Mapper接口
 */
public interface PointsExchangeRuleMapper extends BaseMapperPlus<PointsExchangeRule, PointsExchangeRuleVo> {
    List<PointsExchangeRuleVo>  selectAllPointsExchangeRulesWithCoupons();

    PointsExchangeRuleVo  selectPointsExchangeRuleWithCouponById(Long id);
}
